package com.cmread.bplusc.reader.stealbook; class GPSSvc { void a() { int a;
a=0;// .class public Lcom/cmread/bplusc/reader/stealbook/GPSSvc;
a=0;// .super Landroid/app/Service;
a=0;// .source "GPSSvc.java"
a=0;// 
a=0;// # interfaces
a=0;// .implements Landroid/location/LocationListener;
a=0;// 
a=0;// 
a=0;// # instance fields
a=0;// .field private final a:Ljava/lang/String;
a=0;// 
a=0;// .field private b:Landroid/location/LocationManager;
a=0;// 
a=0;// 
a=0;// # direct methods
a=0;// .method public constructor <init>()V
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 13
a=0;//     invoke-direct {p0}, Landroid/app/Service;-><init>()V
a=0;// 
a=0;//     .line 16
a=0;//     #p0=(Reference,Lcom/cmread/bplusc/reader/stealbook/GPSSvc;);
a=0;//     const-string v0, "LocationSvc"
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/String;);
a=0;//     iput-object v0, p0, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->a:Ljava/lang/String;
a=0;// 
a=0;//     .line 13
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method private a(Landroid/location/Location;)V
a=0;//     .locals 4
a=0;// 
a=0;//     .prologue
a=0;//     .line 59
a=0;//     new-instance v0, Landroid/content/Intent;
a=0;// 
a=0;//     #v0=(UninitRef,Landroid/content/Intent;);
a=0;//     invoke-direct {v0}, Landroid/content/Intent;-><init>()V
a=0;// 
a=0;//     .line 60
a=0;//     #v0=(Reference,Landroid/content/Intent;);
a=0;//     const-string v1, "GPSAction"
a=0;// 
a=0;//     #v1=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {v0, v1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;
a=0;// 
a=0;//     .line 61
a=0;//     if-eqz p1, :cond_0
a=0;// 
a=0;//     .line 63
a=0;//     const-string v1, "PROVIDER"
a=0;// 
a=0;//     const/16 v2, 0x3e9
a=0;// 
a=0;//     #v2=(PosShort);
a=0;//     invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
a=0;// 
a=0;//     .line 64
a=0;//     const-string v1, "longitude"
a=0;// 
a=0;//     invoke-virtual {p1}, Landroid/location/Location;->getLongitude()D
a=0;// 
a=0;//     move-result-wide v2
a=0;// 
a=0;//     #v2=(DoubleLo);v3=(DoubleHi);
a=0;//     invoke-virtual {v0, v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;D)Landroid/content/Intent;
a=0;// 
a=0;//     .line 65
a=0;//     const-string v1, "latitude"
a=0;// 
a=0;//     invoke-virtual {p1}, Landroid/location/Location;->getLatitude()D
a=0;// 
a=0;//     move-result-wide v2
a=0;// 
a=0;//     invoke-virtual {v0, v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;D)Landroid/content/Intent;
a=0;// 
a=0;//     .line 71
a=0;//     :goto_0
a=0;//     #v2=(Conflicted);v3=(Conflicted);
a=0;//     invoke-virtual {p0, v0}, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->sendBroadcast(Landroid/content/Intent;)V
a=0;// 
a=0;//     .line 72
a=0;//     return-void
a=0;// 
a=0;//     .line 69
a=0;//     :cond_0
a=0;//     #v2=(Uninit);v3=(Uninit);
a=0;//     const-string v1, "PROVIDER"
a=0;// 
a=0;//     const/16 v2, 0x3eb
a=0;// 
a=0;//     #v2=(PosShort);
a=0;//     invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
a=0;// 
a=0;//     goto :goto_0
a=0;// .end method
a=0;// 
a=0;// 
a=0;// # virtual methods
a=0;// .method public onBind(Landroid/content/Intent;)Landroid/os/IBinder;
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 118
a=0;//     const/4 v0, 0x0
a=0;// 
a=0;//     #v0=(Null);
a=0;//     return-object v0
a=0;// .end method
a=0;// 
a=0;// .method public onCreate()V
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 22
a=0;//     const-string v0, "location"
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {p0, v0}, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     check-cast v0, Landroid/location/LocationManager;
a=0;// 
a=0;//     iput-object v0, p0, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->b:Landroid/location/LocationManager;
a=0;// 
a=0;//     .line 23
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method public onDestroy()V
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 94
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->b:Landroid/location/LocationManager;
a=0;// 
a=0;//     #v0=(Reference,Landroid/location/LocationManager;);
a=0;//     invoke-virtual {v0, p0}, Landroid/location/LocationManager;->removeUpdates(Landroid/location/LocationListener;)V
a=0;// 
a=0;//     .line 95
a=0;//     invoke-virtual {p0}, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->stopSelf()V
a=0;// 
a=0;//     .line 96
a=0;//     invoke-super {p0}, Landroid/app/Service;->onDestroy()V
a=0;// 
a=0;//     .line 97
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method public onLocationChanged(Landroid/location/Location;)V
a=0;//     .locals 3
a=0;// 
a=0;//     .prologue
a=0;//     .line 49
a=0;//     const-string v0, "LocationSvc"
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/String;);
a=0;//     new-instance v1, Ljava/lang/StringBuilder;
a=0;// 
a=0;//     #v1=(UninitRef,Ljava/lang/StringBuilder;);
a=0;//     const-string v2, "Get the current position \n"
a=0;// 
a=0;//     #v2=(Reference,Ljava/lang/String;);
a=0;//     invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
a=0;// 
a=0;//     #v1=(Reference,Ljava/lang/StringBuilder;);
a=0;//     invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
a=0;// 
a=0;//     .line 50
a=0;//     invoke-direct {p0, p1}, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->a(Landroid/location/Location;)V
a=0;// 
a=0;//     .line 53
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->b:Landroid/location/LocationManager;
a=0;// 
a=0;//     invoke-virtual {v0, p0}, Landroid/location/LocationManager;->removeUpdates(Landroid/location/LocationListener;)V
a=0;// 
a=0;//     .line 54
a=0;//     invoke-virtual {p0}, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->stopSelf()V
a=0;// 
a=0;//     .line 55
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method public onProviderDisabled(Ljava/lang/String;)V
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 103
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->b:Landroid/location/LocationManager;
a=0;// 
a=0;//     #v0=(Reference,Landroid/location/LocationManager;);
a=0;//     invoke-virtual {v0, p0}, Landroid/location/LocationManager;->removeUpdates(Landroid/location/LocationListener;)V
a=0;// 
a=0;//     .line 104
a=0;//     invoke-virtual {p0}, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->stopSelf()V
a=0;// 
a=0;//     .line 105
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method public onProviderEnabled(Ljava/lang/String;)V
a=0;//     .locals 0
a=0;// 
a=0;//     .prologue
a=0;//     .line 112
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method public onStart(Landroid/content/Intent;I)V
a=0;//     .locals 6
a=0;// 
a=0;//     .prologue
a=0;//     .line 28
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->b:Landroid/location/LocationManager;
a=0;// 
a=0;//     #v0=(Reference,Landroid/location/LocationManager;);
a=0;//     const-string v1, "gps"
a=0;// 
a=0;//     #v1=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {v0, v1}, Landroid/location/LocationManager;->getProvider(Ljava/lang/String;)Landroid/location/LocationProvider;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     if-eqz v0, :cond_0
a=0;// 
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->b:Landroid/location/LocationManager;
a=0;// 
a=0;//     const-string v1, "gps"
a=0;// 
a=0;//     invoke-virtual {v0, v1}, Landroid/location/LocationManager;->isProviderEnabled(Ljava/lang/String;)Z
a=0;// 
a=0;//     move-result v0
a=0;// 
a=0;//     #v0=(Boolean);
a=0;//     if-eqz v0, :cond_0
a=0;// 
a=0;//     .line 30
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->b:Landroid/location/LocationManager;
a=0;// 
a=0;//     #v0=(Reference,Landroid/location/LocationManager;);
a=0;//     const-string v1, "gps"
a=0;// 
a=0;//     const-wide/16 v2, 0x0
a=0;// 
a=0;//     #v2=(LongLo);v3=(LongHi);
a=0;//     const/4 v4, 0x0
a=0;// 
a=0;//     #v4=(Null);
a=0;//     move-object v5, p0
a=0;// 
a=0;//     #v5=(Reference,Lcom/cmread/bplusc/reader/stealbook/GPSSvc;);
a=0;//     invoke-virtual/range {v0 .. v5}, Landroid/location/LocationManager;->requestLocationUpdates(Ljava/lang/String;JFLandroid/location/LocationListener;)V
a=0;// 
a=0;//     .line 37
a=0;//     :goto_0
a=0;//     #v2=(Conflicted);v3=(Conflicted);v4=(Conflicted);v5=(Conflicted);
a=0;//     return-void
a=0;// 
a=0;//     .line 34
a=0;//     :cond_0
a=0;//     #v0=(Conflicted);v2=(Uninit);v3=(Uninit);v4=(Uninit);v5=(Uninit);
a=0;//     const/4 v0, 0x0
a=0;// 
a=0;//     #v0=(Null);
a=0;//     invoke-direct {p0, v0}, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->a(Landroid/location/Location;)V
a=0;// 
a=0;//     .line 35
a=0;//     invoke-virtual {p0}, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->stopSelf()V
a=0;// 
a=0;//     goto :goto_0
a=0;// .end method
a=0;// 
a=0;// .method public onStatusChanged(Ljava/lang/String;ILandroid/os/Bundle;)V
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     .line 77
a=0;//     packed-switch p2, :pswitch_data_0
a=0;// 
a=0;//     .line 89
a=0;//     :goto_0
a=0;//     #v0=(Conflicted);v1=(Conflicted);
a=0;//     return-void
a=0;// 
a=0;//     .line 80
a=0;//     :pswitch_0
a=0;//     #v0=(Uninit);v1=(Uninit);
a=0;//     const-string v0, "LocationSvc"
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/String;);
a=0;//     const-string v1, "status_available"
a=0;// 
a=0;//     #v1=(Reference,Ljava/lang/String;);
a=0;//     invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
a=0;// 
a=0;//     goto :goto_0
a=0;// 
a=0;//     .line 83
a=0;//     :pswitch_1
a=0;//     #v0=(Uninit);v1=(Uninit);
a=0;//     const-string v0, "LocationSvc"
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/String;);
a=0;//     const-string v1, "status_out_of_service"
a=0;// 
a=0;//     #v1=(Reference,Ljava/lang/String;);
a=0;//     invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
a=0;// 
a=0;//     goto :goto_0
a=0;// 
a=0;//     .line 86
a=0;//     :pswitch_2
a=0;//     #v0=(Uninit);v1=(Uninit);
a=0;//     const-string v0, "LocationSvc"
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/String;);
a=0;//     const-string v1, "status_temporarily_unavailable"
a=0;// 
a=0;//     #v1=(Reference,Ljava/lang/String;);
a=0;//     invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
a=0;// 
a=0;//     goto :goto_0
a=0;// 
a=0;//     .line 77
a=0;//     :pswitch_data_0
a=0;//     .packed-switch 0x0
a=0;//         :pswitch_1
a=0;//         :pswitch_2
a=0;//         :pswitch_0
a=0;//     .end packed-switch
a=0;// .end method
a=0;// 
a=0;// .method public stopService(Landroid/content/Intent;)Z
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 42
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/stealbook/GPSSvc;->b:Landroid/location/LocationManager;
a=0;// 
a=0;//     #v0=(Reference,Landroid/location/LocationManager;);
a=0;//     invoke-virtual {v0, p0}, Landroid/location/LocationManager;->removeUpdates(Landroid/location/LocationListener;)V
a=0;// 
a=0;//     .line 43
a=0;//     invoke-super {p0, p1}, Landroid/app/Service;->stopService(Landroid/content/Intent;)Z
a=0;// 
a=0;//     move-result v0
a=0;// 
a=0;//     #v0=(Boolean);
a=0;//     return v0
a=0;// .end method
}}
